﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WoSai.Photo.Repository;
using System.Data.SqlClient;
using WoSai.Base.Data.SqlServer;

public partial class TestDetails : System.Web.UI.Page
{
    public string detail;
    protected void Page_Load(object sender, EventArgs e)
    {
        detail = GetPhotos();
        
    }

    string GetPhotos()
    {
        PhotoRepository pr = new PhotoRepository();
        SqlDataReader dr = pr.ShowHelp(141082);
        while (dr.Read())
        {
            Response.Write(dr[1].ToString());
        }
        dr.Close();
        return SqlDBHelper.QueryDetail;
    }
}
